package com.sg.model.componnet.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serial;
import lombok.experimental.Accessors;

import com.sg.framework.common.po.BaseEntity;
import jakarta.validation.constraints.NotNull;

import java.io.Serial;
import java.util.Date;

/**
 * 用于平台或者租户重要消息位置的消息形象，设置在成员ID上
 *
 * @author xxx
 */
@Data
@Accessors(chain = true)
@TableName("oms_message_virtual_image") //2-5-06 虚拟形象表
public class OmsMessageVirtualImage extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 虚拟形象ID
     */
    @TableId(value = "virtual_image_id", type = IdType.ASSIGN_UUID)
    @NotNull(message = "virtualImageId不能为空")
    private String virtualImageId;

    /**
     * 虚拟形象标识
     */
    @TableField(value = "virtual_image_code")
    @NotNull(message = "虚拟形象标识不能为空")
    @Schema(description = "虚拟形象标识")
    private String virtualImageCode;

    /**
     * 虚拟形象名称
     */
    @TableField(value = "virtual_image_name")
    @NotNull(message = "虚拟形象名称不能为空")
    @Schema(description = "虚拟形象名称")
    private String virtualImageName;

    /**
     * 虚拟形象图片
     */
    @TableField(value = "virtual_image")
    @NotNull(message = "虚拟形象图片不能为空")
    @Schema(description = "虚拟形象图片")
    private String virtualImage;

    /**
     * 虚拟形象简介
     */
    @TableField(value = "virtual_image_desc")
    @NotNull(message = "虚拟形象简介不能为空")
    @Schema(description = "虚拟形象简介")
    private String virtualImageDesc;

    /**
     * 人物经典语句
     */
    @TableField(value = "character_classic_phrase")
    @NotNull(message = "人物经典语句不能为空")
    @Schema(description = "人物经典语句")
    private String characterClassicPhrase;

    /**
     * 所属身份人员ID
     */
    @TableField(value = "original_role_member_id")
    @Schema(description = "所属身份人员ID")
    private String originalRoleMemberId;

    /**
     * 冗余个人账号ID
     */
    @TableField(value = "user_id")
    @Schema(description = "冗余个人账号ID")
    private String userId;

    /**
     * 使用场景类型编码 SYSTEM:消息
     */
    @TableField(value = "scene_type_code")
    @NotNull(message = "使用场景类型编码不能为空")
    @Schema(description = "使用场景类型编码")
    private String sceneTypeCode;

    /**
     * 使用场景子类型 STRONG_REMINDER_BY_ASSISTANT:助手强提醒 CHAT_VIRTUAL_IMAGE:沟通形象 CONTENT_VIRTUAL:内容消息形象
     */
    @TableField(value = "scene_sub_type_code")
    @Schema(description = "使用场景子类型")
    private String sceneSubTypeCode;

    /**
     * 是否自定义形象 TRUE:是 FALSE:否
     */
    @TableField(value = "is_custom_image")
    @NotNull(message = "是否自定义形象不能为空")
    @Schema(description = "是否自定义形象")
    private String isCustomImage;

    /**
     * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @TableField(value = "subject_life_cycle")
    @NotNull(message = "主体生命周期不能为空")
    @Schema(description = "主体生命周期")
    private String subjectLifeCycle;

    /**
     * 是否存档 TRUE:是 FALSE:否
     */
    @TableField(value = "is_archive")
    @NotNull(message = "是否存档不能为空")
    @Schema(description = "是否存档")
    private String isArchive;

    /**
     * 是否未来 TRUE:是 FALSE:否
     */
    @TableField(value = "is_editing")
    @Schema(description = "是否未来")
    private String isEditing;

    /**
     * 操作人就职记录ID
     */
    @TableField(value = "operation_induction_id")
    @NotNull(message = "操作人就职记录ID不能为空")
    @Schema(description = "操作人就职记录ID")
    private String operationInductionId;

    /**
     * 创建人就职记录ID
     */
    @TableField(value = "create_induction_id")
    @NotNull(message = "创建人就职记录ID不能为空")
    @Schema(description = "创建人就职记录ID")
    private String createInductionId;

    /**
     * 发布人就职记录ID
     */
    @TableField(value = "release_induction_id")
    @Schema(description = "发布人就职记录ID")
    private String releaseInductionId;

    /**
     * 存档人就职记录ID
     */
    @TableField(value = "archive_induction_id")
    @Schema(description = "存档人就职记录ID")
    private String archiveInductionId;

    /**
     * 操作时间
     */
    @TableField(value = "operate_time")
    @NotNull(message = "操作时间不能为空")
    @Schema(description = "操作时间")
    private Date operateTime;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @NotNull(message = "创建时间不能为空")
    @Schema(description = "创建时间")
    private Date createTime;

    /**
     * 发布时间
     */
    @TableField(value = "release_time")
    @Schema(description = "发布时间")
    private Date releaseTime;

    /**
     * 存档时间
     */
    @TableField(value = "archive_time")
    @Schema(description = "存档时间")
    private Date archiveTime;

    /**
     * 是否作废 TRUE:是 FALSE:否
     */
    @TableField(value = "is_valid")
    @NotNull(message = "是否作废不能为空")
    @Schema(description = "是否作废")
    private String isValid;

    /**
     * 创建于空间ID
     */
    @TableField(value = "space_id")
    @NotNull(message = "创建于空间ID不能为空")
    @Schema(description = "创建于空间ID")
    private String spaceId;

    /**
     * 创建于联盟应用ID
     */
    @TableField(value = "app_id")
    @NotNull(message = "创建于联盟应用ID不能为空")
    @Schema(description = "创建于联盟应用ID")
    private String appId;
}
